<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../common/taglibs.jsp"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html:html>
<head>
	<%
		request.setCharacterEncoding("UTF-8");
	%>

	<base href="<%=basePath%>">
	<link rel="stylesheet" href="css/css.css" type="text/css"></link>
	<link rel="stylesheet" href="css/jquery.datepick.css" type="text/css"></link>
	<style type="text/css">
#leftSide {
	float: left;
	height: auto;
	width: 50%;
}

#rightSide {
	float: left;
	height: auto;
	width: 50%;
}
</style>
	<script type="text/javascript" src="js/global.js"></script>
	<script type="text/javascript" src="js/calendar.js"></script>
	<script type="text/javascript" src="js/jquery/jquery-1.7.2.js"></script>
	<script type="text/javaScript" src="js/jquery/jquery.datepick.js"></script>
	<script type="text/javaScript" src="js/jquery/jquery.datepick.lang.js"></script>
	<script type="text/javaScript" src="js/jquery/jquery.datepick-zh-CN.js"></script>
	<script type="text/javaScript">
	$(document).ready(function() {
			$(".mydate").datepick();
	});
	</script>
</head>
<body>
	<table width="100%" height="29" border="0" cellpadding="0"
		cellspacing="0">
		<tr>
			<td background="images/top-5.gif"
				style="font-size: 14px; font-weight: bold;" align="center">
				客户信息
				<br>
			</td>
		</tr>
	</table>
	<table class="tab_back">
		<tr>
			<td>
				<table border=0 cellpadding=0 cellspacing=0 height=25>
					<tr align="center">
						<td width=5>
							&nbsp;
						</td>
						<td class="tab_left">
							&nbsp;
						</td>
						<td class="tab_on" valign="bottom" nowrap="nowrap">
							客户信息
						</td>
						<td class="tab_right" valign="bottom">
							&nbsp;
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	<form id="" action="client/clientAction.do?method=searchListClient" method="post">
	<table width="100%">
		<tr>
			<td style="width: 350px;">
				从
				<input type="text" id="buyFrom"  name="buyFrom" class="mydate"  value="${clientForm.buyFrom}" >
				到
				<input type="text" id="buyTo"  name="buyTo" class="mydate"  value="${clientForm.buyTo}" >
			</td>
			<td style="text-align: left;">
			<input  id="redetailerId" name="redetailerId" value="${redetailerId}"/>
				<input type="submit" value="搜素">
			</td>
		</tr>
		<tr>
			<td>
				买入订单
			</td>
			<td>
				&nbsp;
			</td>
		</tr>

	</table>
	</form>
	<table id="buyTable" width="100%" border="1" cellspacing="1"
		cellpadding="0" bgclor="#D4D0C8" width="100%">
		<thead>
			<tr class="toptr">
				<td align="center">
					订单号
					<br>
				</td>
				<td align="center">
					日期
				</td>
				<td align="center">
					物料编号
				</td>
				<td align="center">
					物料描述
					<br>
				</td>
				<td align="center">
					数量
					<br>
				</td>
				<td align="center">
					单价
					<br>
				</td>
				<td align="center">
					金额
				</td>

			</tr>
		</thead>
		<tbody id="tbody">
			<c:forEach items="${clientForm.feSellInList}" var="feSellIn">
				<tr class="toptr">
					<td align="center">
						${feSellIn.ORDER_NO_VMI}
					</td>
					<td align="center">
						${feSellIn.ERDAT}
					</td>
					<td align="center">
						${feSellIn.MATNR}
					</td>
					<td align="center">
						${feSellIn.MAKTX}
					</td>
					<td align="center">
						${feSellIn.MENGE}
						
					</td>
					<td align="center">
						${feSellIn.NETPR}
						
					</td>
					<td align="center">
						${feSellIn.amount}
					</td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
	<table width="100%">
		<tr>
			<td>
				卖出信息
			</td>
		</tr>
	</table>
	<table id="selTable" width="100%" border="1" cellspacing="1"
		cellpadding="0" bgclor="#D4D0C8" width="100%">
		<thead>
			<tr class="toptr">
				<td align="center">
					固特异参考号码
				</td>
				<td align="center">
					物科号码
				</td>
				<td align="center">
					描述
				</td>
				<td align="center">
					创建日期
				</td>
				<td align="center">
					我的采购单号
				</td>
				<td align="center">
					交货日期
				</td>
				<td align="center">
					状态
				</td>
				<td align="center">
					订货数量
				</td>
			</tr>
		</thead>
		<tbody id="tbody">
			<c:forEach items="${totalForm.buyList}" var="line">
			</c:forEach>
		</tbody>
	</table>
	<table width="100%">
		<tr>
			<td>
				鉴定申请处理
			</td>
		</tr>
	</table>
	<table id="selTable" width="100%" border="1" cellspacing="1"
		cellpadding="0" bgclor="#D4D0C8" width="100%">
		<thead>
			<tr class="toptr">
				<td align="center">
					日期
				</td>
				<td align="center">
					通知号码
				</td>
				<td align="center">
					品牌号码
				</td>
				<td align="center">
					描述
				</td>
				<td align="center">
					现金流量
				</td>
				<td align="center">
					申请参考号码
				</td>
				<td align="center">
					建议
				</td>
				<td align="center">
					故障代码
				</td>
				<td align="center">
					不理赔原因
				</td>
				<td align="center">
					故障单收回款
				</td>
				<td align="center">
					经销商备注
				</td>
				<td align="center">
					照片
				</td>
			</tr>
		</thead>
		<tbody id="tbody">
			<c:forEach items="${totalForm.buyList}" var="line">
			</c:forEach>
		</tbody>
	</table>
	<table width="100%">
		<tr>
			<td>
				当月订单vsTTP
			</td>
		</tr>
	</table>
	<table id="selTable" width="100%" border="1" cellspacing="1"
		cellpadding="0" bgclor="#D4D0C8" width="100%">
		<thead>
			<tr class="toptr">
				<td align="center">
					TTP
				</td>
				<td align="center">
					买进
				</td>
			</tr>
		</thead>
		<tbody id="tbody">
			<c:forEach items="${totalForm.buyList}" var="line">
			</c:forEach>
		</tbody>
	</table>
</body>
</html:html>
